package com.hp.attendance.service;

import com.hp.attendance.dao.ExcelDao;
import com.hp.attendance.entity.dto.ExcelDTO;

import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

public class ExcelService {
    private ExcelDao excelDao= new ExcelDao();
    public List<ExcelDTO> getList(String tableName) throws SQLException, IOException, ClassNotFoundException, InstantiationException, IllegalAccessException {
       return excelDao.getList(tableName);
    }
}
